package com.pen.changgou.goods.service;


import com.pen.changgou.common.core.utils.R;
import com.pen.changgou.goods.entity.Goods;
import com.pen.changgou.goods.entity.Spu;
import com.baomidou.mybatisplus.extension.service.IService;


/**
 * 
 *
 * @author yaodao
 * @email lfy@pen.changgou.com
 * @date 2020-11-29 17:35:47
 */
public interface SpuService extends IService<Spu> {


    R saveGoods(Goods goods);

    R<Goods> findGoodsById(Long id);

    R audit(Long id);

    R up(Long id);

    R down(Long id);

    R upBatch(Long[] ids);

    R downBatch(Long[] ids);
}

